Skip to content

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Apr 9, 2025

Description

Fix file_alloc_aligned() and add the allocFreeAligned test to poolFixtures.hpp.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@ldorau ldorau requested a review from a team as a code owner April 9, 2025 13:31
@ldorau ldorau force-pushed the Add_allocFreeAligned_test branch 2 times, most recently from a6c4210 to 3b84556 Compare April 9, 2025 18:50
@bratpiorka bratpiorka added this to the v0.11.x milestone Apr 9, 2025
@ldorau ldorau force-pushed the Add_allocFreeAligned_test branch from 3b84556 to 69ab584 Compare April 9, 2025 19:51
`new_offset_mmap` can be greater than `file_provider->size_mmap`,
so `file_provider->size_mmap - new_offset_mmap` would be
an underflow in this case.

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Add_allocFreeAligned_test branch from 69ab584 to b623170 Compare April 10, 2025 10:05
@ldorau ldorau force-pushed the Add_allocFreeAligned_test branch from b623170 to 9990b34 Compare April 10, 2025 12:53
@bratpiorka bratpiorka merged commit 6e49be4 into oneapi-src:main Apr 11, 2025
171 of 172 checks passed
@ldorau ldorau deleted the Add_allocFreeAligned_test branch April 11, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants